package org.dey.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 体检上传(报告上传)
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_checkupload")
public class CheckUpload {

    @TableId(value ="ID",type = IdType.AUTO)
    private Integer id;//主键
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date checktime;//体检时间
    @TableField(exist = false)
    private Integer mid;//会员编号
    private String fileNumber;//档案号
    private String name;//会员姓名
    private String phoneNumber;//电话号码
    private Integer cid;//体检套餐编号
    @TableField(exist = false)
    private String cname; //套餐名称
    private Integer upstate;//报告状态
/*    @TableField(exist = false)
    private Member member;//存放会员信息
    @TableField(exist = false)
    private CheckGroup checkgroup; //存放套餐信息*/

}
